package com.zero2oneblog.service.impl;

import com.zero2oneblog.entity.UserRole;
import com.zero2oneblog.mapper.UserRoleMapper;
import com.zero2oneblog.service.IUserRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liangjiu
 * @since 2024-01-08
 */
@Service
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole> implements IUserRoleService {

    @Autowired
    private UserRoleMapper userRoleMapper;
    @Override
    public List<UserRole> selectOneToMany() {
        return userRoleMapper.selectOneToMany();
    }
}
